//
//  BusinessProcessViewController.m
//  Globalstone
//
//  Created by 刘建峰 on 16/8/11.
//  Copyright © 2016年 yuf. All rights reserved.
//

#import "BusinessProcessViewController.h"

@interface BusinessProcessViewController ()
@property (weak, nonatomic) IBOutlet UIView *navView;
@property (weak, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation BusinessProcessViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self initViewLayout];
}


- (void)initViewLayout{
    [self adaptiveViewLayout:self.view];
    [self adaptiveViewLayout:self.navView];
    
    NSURLRequest *req = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://%@%@ttortc=%@&fcomId=%@&museId=%@&musePwd=%@&museOnlineTag=%@",IP_Address_Fresh,GS_queryWorkFlowDetail,_type,_companyId,[Common getLoginInfo][Key_User_userId],[Common getLoginInfo][Key_User_password],[Common getLoginInfo][Key_User_onlineKey]]]];
    [_webView loadRequest:req];
    
}

- (IBAction)back:(id)sender {
    [self backBtn];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
